Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
authorKristian Rietveld <kris@gtk.org>
Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)
committerKristian Rietveld <kris@gtk.org>
Fri, 27 Nov 2009 12:48:16 +0000 (13:48 +0100)
commitdd511e825aef9edada30107b3d891d496cc39fd8
tree79f72ee6b9c1beadd5f8f53b641285211cb55ccb
parentd3592dc22c3eac467546c66da0e4cf5c9e39cde8
Bug 480065 -  wrong tree collapsed (or expanded) after having scrolled

Store (x, y) of last motion event.  From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated.  We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander.  This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
gtk/gtktreeprivate.h
gtk/gtktreeview.c